/*
projectile_hit_actor();
*/
if ((other.actor_id).enemy != enemy) && (alarm[1]<0 && alarm[2]<0) && (!dead){
	if (enemy == ds_list_find_value(global.team,global.team_member_current).enemy){
		alarm[1] = room_speed;
	}
	else{
		alarm[1] = room_speed/8;
	}
	alarm[2] = room_speed/8;
	hitdir = sign(x-other.x);
	if (ds_list_find_value(global.team,global.team_member_current) == self.id) || (enemy != ds_list_find_value(global.team,global.team_member_current).enemy){
		hp[0] -= other.damage;
	}
	other.spark_sprite = -1;
	with (other){
		instance_destroy();
	}
}
